package com.epoint.excleutil.Vo;

import java.io.Serializable;
import org.apache.poi.ss.usermodel.CellStyle;

public class ExcelForEachParams implements Serializable {
    private static final long serialVersionUID = 1L;
    private String name;
    private CellStyle cellStyle;
    private short height;
    private String constValue;
    private int colspan = 1;

    private int rowspan = 1;
    private boolean needSum;

    public ExcelForEachParams()
    {
    }

    public ExcelForEachParams(String name, CellStyle cellStyle, short height)
    {
        this.name = name;
        this.cellStyle = cellStyle;
        this.height = height;
    }

    public ExcelForEachParams(String name, CellStyle cellStyle, short height, boolean needSum) {
        this.name = name;
        this.cellStyle = cellStyle;
        this.height = height;
        this.needSum = needSum;
    }

    public String getName()
    {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CellStyle getCellStyle() {
        return this.cellStyle;
    }

    public void setCellStyle(CellStyle cellStyle) {
        this.cellStyle = cellStyle;
    }

    public short getHeight() {
        return this.height;
    }

    public void setHeight(short height) {
        this.height = height;
    }

    public String getConstValue() {
        return this.constValue;
    }

    public void setConstValue(String constValue) {
        this.constValue = constValue;
    }

    public int getColspan() {
        return this.colspan;
    }

    public void setColspan(int colspan) {
        this.colspan = colspan;
    }

    public int getRowspan() {
        return this.rowspan;
    }

    public void setRowspan(int rowspan) {
        this.rowspan = rowspan;
    }

    public boolean isNeedSum() {
        return this.needSum;
    }

    public void setNeedSum(boolean needSum) {
        this.needSum = needSum;
    }
}